package com.example.pro1.mapper.lian.oldMapper;


import com.example.pro1.entity.lian.oldPojo.rootOld;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface rootMapperOld {
    /*查询对象的数量*/
    Integer getRootNums();

    /*添加Root对象*/
    boolean insertOneRoot(Map<String,Object> map);

    /*删除Root对象*/
    boolean deleteRootByInfoById(Map<String,Object> map);

    /*修改Root对象*/
    boolean updateRootByInfo(Map<String,Object> map);

    /*根据Id修改Root对象*/
    boolean updateRootById(Map<String,Object> map);

    /*根据已有数据查询Root对象*/
    List<rootOld> getRootsInfo(Map<String,Object> map);
}
